/*
 * @Author: cl
 * @Description: 学生
 * @Date: 2023-04-14 17:17:41
 * @LastEditTime: 2023-04-18 15:17:37
 * @FilePath: \jsnode\nestjs\naota\src\student\entities\student.entity.ts
 * @LastEditors: cl
 */
import { Column, CreateDateColumn, Entity, PrimaryGeneratedColumn } from 'typeorm'

@Entity()
export class StuInfo {
  @PrimaryGeneratedColumn({ type: 'int' })
  id: number

  //image
  @Column({ type: 'varchar', length: 200 })
  url: string

  //地址
  @Column({ type: 'varchar', length: 200 })
  address: string
}
